﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace AVCare.LMS.Models
{
    [DisplayName("LiveVideo")]
    [Table("LMS_T_StreamVideos")]
    public class LiveVideo
    {
        [Column("videoID")]
        [Key]
        public int ID { get; set; }

        [Column("subjectID")]
        public int SubjectID { get; set; }

        [Column("title")]
        public string Title { get; set; }

        [Column("image")]
        public byte[] Image { get; set; }

        [Column("date")]
        public DateTime Date { get; set; }

        [Column("description")]
        public string Description { get; set; }

        [Column("views")]
        public int Views { get; set; }

        [Column("videoType")]
        public int VideoType { get; set; }

        [Column("videoIP")]
        public string VideoIP { get; set; }

        [Column("videoPort")]
        public int VideoPort { get; set; }

        [Column("videoUser")]
        public int VideoUser { get; set; }

        [Column("videoPassword")]
        public int VideoUserPassword { get; set; }

        [Column("videoTranIP")]
        public int VideoTranIP { get; set; }

        [Column("videoTranPort")]
        public int VideoTranPort { get; set; }
    }
}
